//
//  ZFLoginHttpRequest.h
//  HappilyLoan
//
//  Created by zainishenbian on 2017/3/31.
//  Copyright © 2017年 zongqingxiangqian. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ZFHttpTool.h"

@interface ZFLoginHttpRequest : NSObject

//请求获取短信验证码
+ (void)requestGetSmsCodePhone:(NSString *)phone withCodeType:(NSString *)codeType sucessBlock:(void(^)(NSDictionary *dict))successBlock failureBlock:(void(^)(NSInteger failSign))failureBlock;
//请求注册
+ (void)requestRegisterPhone:(NSString *)phone smsCode:(NSString *)smsCode pwd:(NSString *)pwd sucessBlock:(void(^)(NSDictionary *dict))successBlock failureBlock:(void(^)(NSInteger failSign))failureBlock;
//请求账号密码登录
+ (void)requestLoginPhone:(NSString *)phone pwd:(NSString *)pwd sucessBlock:(void(^)(NSDictionary *dict))successBlock failureBlock:(void(^)(NSInteger failSign))failureBlock;
//请求短信验证码登录
+ (void)requestSmsLoginPhone:(NSString *)phone smsCode:(NSString *)smsCode sucessBlock:(void(^)(NSDictionary *dict))successBlock failureBlock:(void(^)(NSInteger failSign))failureBlock;
//修改密码
+ (void)requestFixPwdPhone:(NSString *)phone smsCode:(NSString *)smsCode pwd:(NSString *)pwd sucessBlock:(void(^)(NSDictionary *dict))successBlock failureBlock:(void(^)(NSInteger failSign))failureBlock;
@end
